﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<LiteratureSearchViewModel>" %>
<div style="background-color:#eee; height:62px;">
<%using (Html.BeginForm(MVC.Literature.List(), FormMethod.Get))
  { %>
<div>
    <div class="searchItem">文章名称：<%=Html.TextBoxFor(m => m.ArticleName)%></div>
    <div class="searchItem">学科类别：<%=Html.TextBoxFor(m => m.SubjectCatalog)%></div>
    <div class="searchItem">文章出处：<%=Html.TextBoxFor(m => m.ArticleSource)%></div>
    <br class="clearboth"/>
    <div class="searchItem">文章作者：<%=Html.TextBoxFor(m => m.AuthorName)%></div>
    <div class="searchItem">发表日期：<%=Html.TextBoxFor(m => m.BeginDate, new { @class = "date-pick", @readonly = true })%> - <%=Html.TextBoxFor(m => m.EndDate, new { @class = "date-pick", @readonly = true })%></div>
    <div class="searchItem"><input type="submit" value="查询" /></div>
</div>
<%} %>
</div>
<script type="text/javascript">
    $(function() {
        $('.date-pick').datepick();
    });
</script>